package com.lbd.gulimall.ware.feign;

import com.lbd.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * @ProjectName: gulimall
 * @Package: com.lbd.gulimall.ware.feign
 * @ClassName: WareSkuFeignService
 * @Author: linbd
 * @Description:
 * @Date: 2021/6/28 0:08
 */
@FeignClient("gulimall-product")
public interface WareSkuFeignService {
    @RequestMapping("/product/skuinfo/listById/{skuId}")
    public R listById(@PathVariable Long skuId);


    @RequestMapping("/product/spuinfo/getWeight/{skuId}")
    R getWeight(@PathVariable Long skuId);
}
